package com.yanqu.road.entity.activity.apprentice.data;

public class ApprenticeBuffProjectData {

    /**
     * 项目ID
     */
    private int projectId;

    /**
     * 可用次数
     */
    private int num;

    public ApprenticeBuffProjectData() {
    }

    public ApprenticeBuffProjectData(int projectId, int num) {
        this.projectId = projectId;
        this.num = num;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public synchronized void addNum(int num) {
    	this.num += num;
    }
}
